import request from '@/utils/request'
// import { praseStrEmpty } from "@/utils/ruoyi";
// 仓库列表获取
export function storeList(data) {
  return request({
    url: '/wasm/warehouse/getWareHouseList',
    method: 'get',
    params: data
  })
}
// 添加仓库
export function addStore(data) {
  return request({
    url: '/wasm/warehouse/addWareHouse',
    method: 'post',
    data: data
  })
}
// 修改仓库信息
export function updataStore(data) {
  return request({
    url: '/wasm/warehouse/updateWareHouse',
    method: 'post',
    data: data
  })
}
//出库的添加
export function addDelivery(data) {
  return request({
    url: '/wasm/record/addDelivery',
    method: 'post',
    data: data
  })
}
// 储位列表获取
export function cabinetList(data) {
  return request({
    url: '/wasm/warehouse/cabinetList',
    method: 'get',
    params: data
  })
}
// 添加储位
export function addCabinet(data) {
  return request({
    url: '/wasm/warehouse/addCabinet',
    method: 'post',
    data: data
  })
}
// 添加储位
export function updateCabinet(data) {
  return request({
    url: '/wasm/warehouse/updateCabinet',
    method: 'post',
    data: data
  })
}